Forbid cyclic dependencies
authorAlex Crichton <alex@alexcrichton.com>
Thu, 29 Jan 2015 05:50:06 +0000 (21:50 -0800)
committerAlex Crichton <alex@alexcrichton.com>
Thu, 29 Jan 2015 19:26:08 +0000 (11:26 -0800)
commit06f37a09035e8b8a1b9e9f3b538fa1f0d2c63fdf
treefe853f303c73b5392fecee4e3a5c3b2350493b22
parenta40d3b03b8afb06187447c7607c928e13241f846
Forbid cyclic dependencies

Re-jigger some code in the resolver and refactor a little bit to get the
ordering of checks right to forbid cyclic dependencies from ever reaching the
backend.

Closes #834
src/cargo/core/registry.rs
src/cargo/core/resolver/mod.rs
src/cargo/ops/cargo_compile.rs
src/cargo/ops/cargo_read_manifest.rs
src/cargo/ops/cargo_rustc/mod.rs
src/cargo/util/graph.rs
tests/test_cargo_compile.rs
tests/test_cargo_freshness.rs